package com.chenfwind.serviceImpl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.chenfwind.IDao.OwnerMapper;
import com.chenfwind.domain.Owner;
import com.chenfwind.service.OwnerService;

@Service("ownerService")
public class OwnerServiceImpl implements OwnerService {

	@Autowired
	private OwnerMapper ownerDao;
	
	public Owner getOwner(String bookId) {
		return ownerDao.selectByUserIdAndStatus(bookId);
	}

}
